<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>更新商品信息</title>
</head>
<body>
<form action="/product/do/update" method="post">
    <input type="hidden" th:value="${product.productId}" name="id"/>
    
    商品标题：<input type="text" name="productTitle"  th:value="${product.productTitle}"/><br/>
    库存：<input type="text" name="stockNum"  th:value="${product.stockNum}"/><br/>
    <input type="submit" th:value="提交"/>
</form>
</body>
</html>
